package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Activetyrecord;
import org.hxyjs.entity.ActivetyrecordExample;

public interface ActivetyrecordMapper {
    long countByExample(ActivetyrecordExample example);

    int deleteByExample(ActivetyrecordExample example);

    int deleteByPrimaryKey(String afno);

    int insert(Activetyrecord record);

    int insertSelective(Activetyrecord record);

    String getMaxAfno();

    List<Activetyrecord> getActivetyrecordByPage(Map<String,Object> map);

    List<Activetyrecord> selectByExample(ActivetyrecordExample example);

    Activetyrecord selectByPrimaryKey(String afno);

    int updateByExampleSelective(@Param("record") Activetyrecord record, @Param("example") ActivetyrecordExample example);

    int updateByExample(@Param("record") Activetyrecord record, @Param("example") ActivetyrecordExample example);

    int updateByPrimaryKeySelective(Activetyrecord record);

    int updateByPrimaryKey(Activetyrecord record);
}